package com.lala.commom.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Books implements Serializable {
    private Long id;

    private String bookname;

    private Integer price;

    private Integer stock;

    private Integer sale;

    private String filename;

    private Integer putaway;

    private Date putawaydate;

    private Integer gradeid2;

    private String info;

    private String coursename;

    private String gradename;

    private List<Chapter> chapters;

    public List<Chapter> getChapters() {
        return chapters;
    }

    public void setChapters(List<Chapter> chapters) {
        this.chapters = chapters;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename;
    }

    public String getGradename() {
        return gradename;
    }

    public void setGradename(String gradename) {
        this.gradename = gradename;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname == null ? null : bookname.trim();
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getSale() {
        return sale;
    }

    public void setSale(Integer sale) {
        this.sale = sale;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename == null ? null : filename.trim();
    }

    public Integer getPutaway() {
        return putaway;
    }

    public void setPutaway(Integer putaway) {
        this.putaway = putaway;
    }

    public Date getPutawaydate() {
        return putawaydate;
    }

    public void setPutawaydate(Date putawaydate) {
        this.putawaydate = putawaydate;
    }

    public Integer getGradeid2() {
        return gradeid2;
    }

    public void setGradeid2(Integer gradeid2) {
        this.gradeid2 = gradeid2;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info == null ? null : info.trim();
    }
}